package com.sinothk.fc.bill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sinothk.fc.bill.entity.BillClassifyEntity;
import com.sinothk.fc.bill.entity.BillEntity;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 招财猫账单表
 * @Author: Liangyt
 * @Date: 2022-09-12
 * @Version: V1.0
 */
public interface BillMapper extends BaseMapper<BillEntity> {

    IPage<BillEntity> pageListForStoreByDay(Page<BillEntity> page, @Param("storeId") String storeId);

    IPage<BillClassifyEntity> pageForStoreGroupByOrderId(Page<BillClassifyEntity> page, @Param("storeId") String storeId);
}
